https://www.devicesfaq.com/en/hard-reset/samsung-i5800-galaxy-3
How to hard reset or force restore Samsung I5800 Galaxy 3